package com.ericom.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ericom.dao.ContentCategoryDao;
import com.ericom.model.ContentCategory;
import com.ericom.service.ContentCategoryManager;

@Service("contentCategoryManager")
public class ContentCategoryManagerImpl extends GenericManagerImpl<ContentCategory, Long>
		implements ContentCategoryManager {

	ContentCategoryDao contentCategoryDao;
	@Autowired
	public ContentCategoryManagerImpl(ContentCategoryDao contentCategoryDao){
		super(contentCategoryDao);
		this.contentCategoryDao=contentCategoryDao;
		
	}
	
	public List<ContentCategory> findByTitle(String title) {

		return contentCategoryDao.findByTitle(title);
	}

}
